package pojo;

import anno.Column;
import anno.Table;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("tb_exam_record")
public class ExamRecord {
    @Column(isId = true)
    private Integer recordId;
    private Integer paperId;
    private Integer userId;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private Integer score;
    private String answers;  // JSON string for answers array
}